﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace puzzle
{
    public class Tile
    {
        public int X { get; set; }
        public int Y { get; set; }
        public TileType Type { get; set; }
        public int WarperID { get; set; }
        public int WaypointID { get; set; }

        public Tile(int x, int y)
        {
            X = x;
            Y = y;
            Type = TileType.Blocked;
            WarperID = -1;
            WaypointID = -1;
        }

    }


    public enum TileType
    {
        Normal,
        Waypoint,
        Blocked,
        Warper,
        Switch,
        ColorSwitch,
        State_Blocked,
        State_Passable
    }
}
